package com.travel.common.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class ScenicExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ScenicExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdIsNull() {
            addCriterion("scenic_type_id is null");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdIsNotNull() {
            addCriterion("scenic_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdEqualTo(Integer value) {
            addCriterion("scenic_type_id =", value, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdNotEqualTo(Integer value) {
            addCriterion("scenic_type_id <>", value, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdGreaterThan(Integer value) {
            addCriterion("scenic_type_id >", value, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("scenic_type_id >=", value, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdLessThan(Integer value) {
            addCriterion("scenic_type_id <", value, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdLessThanOrEqualTo(Integer value) {
            addCriterion("scenic_type_id <=", value, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdIn(List<Integer> values) {
            addCriterion("scenic_type_id in", values, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdNotIn(List<Integer> values) {
            addCriterion("scenic_type_id not in", values, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdBetween(Integer value1, Integer value2) {
            addCriterion("scenic_type_id between", value1, value2, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("scenic_type_id not between", value1, value2, "scenicTypeId");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIdIsNull() {
            addCriterion("address_id is null");
            return (Criteria) this;
        }

        public Criteria andAddressIdIsNotNull() {
            addCriterion("address_id is not null");
            return (Criteria) this;
        }

        public Criteria andAddressIdEqualTo(Integer value) {
            addCriterion("address_id =", value, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdNotEqualTo(Integer value) {
            addCriterion("address_id <>", value, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdGreaterThan(Integer value) {
            addCriterion("address_id >", value, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("address_id >=", value, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdLessThan(Integer value) {
            addCriterion("address_id <", value, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdLessThanOrEqualTo(Integer value) {
            addCriterion("address_id <=", value, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdIn(List<Integer> values) {
            addCriterion("address_id in", values, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdNotIn(List<Integer> values) {
            addCriterion("address_id not in", values, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdBetween(Integer value1, Integer value2) {
            addCriterion("address_id between", value1, value2, "addressId");
            return (Criteria) this;
        }

        public Criteria andAddressIdNotBetween(Integer value1, Integer value2) {
            addCriterion("address_id not between", value1, value2, "addressId");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicIsNull() {
            addCriterion("special_scenic is null");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicIsNotNull() {
            addCriterion("special_scenic is not null");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicEqualTo(String value) {
            addCriterion("special_scenic =", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicNotEqualTo(String value) {
            addCriterion("special_scenic <>", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicGreaterThan(String value) {
            addCriterion("special_scenic >", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicGreaterThanOrEqualTo(String value) {
            addCriterion("special_scenic >=", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicLessThan(String value) {
            addCriterion("special_scenic <", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicLessThanOrEqualTo(String value) {
            addCriterion("special_scenic <=", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicLike(String value) {
            addCriterion("special_scenic like", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicNotLike(String value) {
            addCriterion("special_scenic not like", value, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicIn(List<String> values) {
            addCriterion("special_scenic in", values, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicNotIn(List<String> values) {
            addCriterion("special_scenic not in", values, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicBetween(String value1, String value2) {
            addCriterion("special_scenic between", value1, value2, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andSpecialScenicNotBetween(String value1, String value2) {
            addCriterion("special_scenic not between", value1, value2, "specialScenic");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdIsNull() {
            addCriterion("relation_user_id is null");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdIsNotNull() {
            addCriterion("relation_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdEqualTo(Integer value) {
            addCriterion("relation_user_id =", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdNotEqualTo(Integer value) {
            addCriterion("relation_user_id <>", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdGreaterThan(Integer value) {
            addCriterion("relation_user_id >", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("relation_user_id >=", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdLessThan(Integer value) {
            addCriterion("relation_user_id <", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("relation_user_id <=", value, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdIn(List<Integer> values) {
            addCriterion("relation_user_id in", values, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdNotIn(List<Integer> values) {
            addCriterion("relation_user_id not in", values, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdBetween(Integer value1, Integer value2) {
            addCriterion("relation_user_id between", value1, value2, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andRelationUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("relation_user_id not between", value1, value2, "relationUserId");
            return (Criteria) this;
        }

        public Criteria andConditionIsNull() {
            addCriterion("condition is null");
            return (Criteria) this;
        }

        public Criteria andConditionIsNotNull() {
            addCriterion("condition is not null");
            return (Criteria) this;
        }

        public Criteria andConditionEqualTo(Integer value) {
            addCriterion("condition =", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotEqualTo(Integer value) {
            addCriterion("condition <>", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionGreaterThan(Integer value) {
            addCriterion("condition >", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionGreaterThanOrEqualTo(Integer value) {
            addCriterion("condition >=", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLessThan(Integer value) {
            addCriterion("condition <", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionLessThanOrEqualTo(Integer value) {
            addCriterion("condition <=", value, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionIn(List<Integer> values) {
            addCriterion("condition in", values, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotIn(List<Integer> values) {
            addCriterion("condition not in", values, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionBetween(Integer value1, Integer value2) {
            addCriterion("condition between", value1, value2, "condition");
            return (Criteria) this;
        }

        public Criteria andConditionNotBetween(Integer value1, Integer value2) {
            addCriterion("condition not between", value1, value2, "condition");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIsNull() {
            addCriterion("scenic_type is null");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIsNotNull() {
            addCriterion("scenic_type is not null");
            return (Criteria) this;
        }

        public Criteria andScenicTypeEqualTo(String value) {
            addCriterion("scenic_type =", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeNotEqualTo(String value) {
            addCriterion("scenic_type <>", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeGreaterThan(String value) {
            addCriterion("scenic_type >", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeGreaterThanOrEqualTo(String value) {
            addCriterion("scenic_type >=", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeLessThan(String value) {
            addCriterion("scenic_type <", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeLessThanOrEqualTo(String value) {
            addCriterion("scenic_type <=", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeLike(String value) {
            addCriterion("scenic_type like", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeNotLike(String value) {
            addCriterion("scenic_type not like", value, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeIn(List<String> values) {
            addCriterion("scenic_type in", values, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeNotIn(List<String> values) {
            addCriterion("scenic_type not in", values, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeBetween(String value1, String value2) {
            addCriterion("scenic_type between", value1, value2, "scenicType");
            return (Criteria) this;
        }

        public Criteria andScenicTypeNotBetween(String value1, String value2) {
            addCriterion("scenic_type not between", value1, value2, "scenicType");
            return (Criteria) this;
        }

        public Criteria andRelationNameIsNull() {
            addCriterion("relation_name is null");
            return (Criteria) this;
        }

        public Criteria andRelationNameIsNotNull() {
            addCriterion("relation_name is not null");
            return (Criteria) this;
        }

        public Criteria andRelationNameEqualTo(String value) {
            addCriterion("relation_name =", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameNotEqualTo(String value) {
            addCriterion("relation_name <>", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameGreaterThan(String value) {
            addCriterion("relation_name >", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameGreaterThanOrEqualTo(String value) {
            addCriterion("relation_name >=", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameLessThan(String value) {
            addCriterion("relation_name <", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameLessThanOrEqualTo(String value) {
            addCriterion("relation_name <=", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameLike(String value) {
            addCriterion("relation_name like", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameNotLike(String value) {
            addCriterion("relation_name not like", value, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameIn(List<String> values) {
            addCriterion("relation_name in", values, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameNotIn(List<String> values) {
            addCriterion("relation_name not in", values, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameBetween(String value1, String value2) {
            addCriterion("relation_name between", value1, value2, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationNameNotBetween(String value1, String value2) {
            addCriterion("relation_name not between", value1, value2, "relationName");
            return (Criteria) this;
        }

        public Criteria andRelationTelIsNull() {
            addCriterion("relation_tel is null");
            return (Criteria) this;
        }

        public Criteria andRelationTelIsNotNull() {
            addCriterion("relation_tel is not null");
            return (Criteria) this;
        }

        public Criteria andRelationTelEqualTo(String value) {
            addCriterion("relation_tel =", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelNotEqualTo(String value) {
            addCriterion("relation_tel <>", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelGreaterThan(String value) {
            addCriterion("relation_tel >", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelGreaterThanOrEqualTo(String value) {
            addCriterion("relation_tel >=", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelLessThan(String value) {
            addCriterion("relation_tel <", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelLessThanOrEqualTo(String value) {
            addCriterion("relation_tel <=", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelLike(String value) {
            addCriterion("relation_tel like", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelNotLike(String value) {
            addCriterion("relation_tel not like", value, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelIn(List<String> values) {
            addCriterion("relation_tel in", values, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelNotIn(List<String> values) {
            addCriterion("relation_tel not in", values, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelBetween(String value1, String value2) {
            addCriterion("relation_tel between", value1, value2, "relationTel");
            return (Criteria) this;
        }

        public Criteria andRelationTelNotBetween(String value1, String value2) {
            addCriterion("relation_tel not between", value1, value2, "relationTel");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Integer value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Integer value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Integer value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Integer value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Integer> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Integer> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdIsNull() {
            addCriterion("alert_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdIsNotNull() {
            addCriterion("alert_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdEqualTo(Integer value) {
            addCriterion("alert_user_id =", value, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdNotEqualTo(Integer value) {
            addCriterion("alert_user_id <>", value, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdGreaterThan(Integer value) {
            addCriterion("alert_user_id >", value, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("alert_user_id >=", value, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdLessThan(Integer value) {
            addCriterion("alert_user_id <", value, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("alert_user_id <=", value, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdIn(List<Integer> values) {
            addCriterion("alert_user_id in", values, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdNotIn(List<Integer> values) {
            addCriterion("alert_user_id not in", values, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdBetween(Integer value1, Integer value2) {
            addCriterion("alert_user_id between", value1, value2, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("alert_user_id not between", value1, value2, "alertUserId");
            return (Criteria) this;
        }

        public Criteria andAlertTimeIsNull() {
            addCriterion("alert_time is null");
            return (Criteria) this;
        }

        public Criteria andAlertTimeIsNotNull() {
            addCriterion("alert_time is not null");
            return (Criteria) this;
        }

        public Criteria andAlertTimeEqualTo(Date value) {
            addCriterionForJDBCDate("alert_time =", value, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("alert_time <>", value, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("alert_time >", value, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("alert_time >=", value, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeLessThan(Date value) {
            addCriterionForJDBCDate("alert_time <", value, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("alert_time <=", value, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeIn(List<Date> values) {
            addCriterionForJDBCDate("alert_time in", values, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("alert_time not in", values, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("alert_time between", value1, value2, "alertTime");
            return (Criteria) this;
        }

        public Criteria andAlertTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("alert_time not between", value1, value2, "alertTime");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNull() {
            addCriterion("reserve_1 is null");
            return (Criteria) this;
        }

        public Criteria andReserve1IsNotNull() {
            addCriterion("reserve_1 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve1EqualTo(String value) {
            addCriterion("reserve_1 =", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotEqualTo(String value) {
            addCriterion("reserve_1 <>", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThan(String value) {
            addCriterion("reserve_1 >", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1GreaterThanOrEqualTo(String value) {
            addCriterion("reserve_1 >=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThan(String value) {
            addCriterion("reserve_1 <", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1LessThanOrEqualTo(String value) {
            addCriterion("reserve_1 <=", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Like(String value) {
            addCriterion("reserve_1 like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotLike(String value) {
            addCriterion("reserve_1 not like", value, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1In(List<String> values) {
            addCriterion("reserve_1 in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotIn(List<String> values) {
            addCriterion("reserve_1 not in", values, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1Between(String value1, String value2) {
            addCriterion("reserve_1 between", value1, value2, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve1NotBetween(String value1, String value2) {
            addCriterion("reserve_1 not between", value1, value2, "reserve1");
            return (Criteria) this;
        }

        public Criteria andReserve2IsNull() {
            addCriterion("reserve_2 is null");
            return (Criteria) this;
        }

        public Criteria andReserve2IsNotNull() {
            addCriterion("reserve_2 is not null");
            return (Criteria) this;
        }

        public Criteria andReserve2EqualTo(String value) {
            addCriterion("reserve_2 =", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotEqualTo(String value) {
            addCriterion("reserve_2 <>", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2GreaterThan(String value) {
            addCriterion("reserve_2 >", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2GreaterThanOrEqualTo(String value) {
            addCriterion("reserve_2 >=", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2LessThan(String value) {
            addCriterion("reserve_2 <", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2LessThanOrEqualTo(String value) {
            addCriterion("reserve_2 <=", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2Like(String value) {
            addCriterion("reserve_2 like", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotLike(String value) {
            addCriterion("reserve_2 not like", value, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2In(List<String> values) {
            addCriterion("reserve_2 in", values, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotIn(List<String> values) {
            addCriterion("reserve_2 not in", values, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2Between(String value1, String value2) {
            addCriterion("reserve_2 between", value1, value2, "reserve2");
            return (Criteria) this;
        }

        public Criteria andReserve2NotBetween(String value1, String value2) {
            addCriterion("reserve_2 not between", value1, value2, "reserve2");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}